package com.itheima.exception;
/*
Throwable的成员方法
 */
public class Demo04 {

    public static void main(String[] args) {

        try {
            int i=1/0;
        } catch (Exception e) {
            System.out.println(e.getMessage());
            System.out.println(e);
            e.printStackTrace();
        }


    }
}
